#include "SubDialog.h"

SubDialog::SubDialog(QWidget *parent)
	: QDialog(parent)
{
	ui.setupUi(this);
	connect(ui.btnOk, SIGNAL(clicked()), this, SLOT(OnBtnOk()));
	connect(ui.btnCancle, SIGNAL(clicked()), this, SLOT(OnBtnCancle()));
}

SubDialog::~SubDialog()
{
}

void SubDialog::OnBtnOk()
{
	accept();
}

void SubDialog::OnBtnCancle()
{
	reject();
}
